using System;
using System.Collections.Generic;

namespace LeadTracker.EFCodeFirst.Entities
{
	public class Editor
	{
	    public Editor()
		{
			this.Leads = new List<Lead>();
			this.LeadComments = new List<LeadComment>();
		}

		public int EditorKey { get; set; }
		public string UserName { get; set; }
		public string FirstName { get; set; }
		public string LastName { get; set; }
		public string EmailAddress { get; set; }
		public string PasswordSalt { get; set; }
		public string PasswordHash { get; set; }
		public bool IsEnabled { get; set; }
		public virtual ICollection<Lead> Leads { get; set; }
		public virtual ICollection<LeadComment> LeadComments { get; set; }
	}
}

